package com.hnrd.crud.mapper;


import java.util.List;

import org.springframework.stereotype.Service;

import com.hnrd.crud.pojo.Permission;
@Service
public interface PermissionMapper {
    
    int deleteByPrimaryKey(Integer id);

    int insert(Permission record);

    Permission selectByPrimaryKey(Integer id);

    List<Permission> selectAll();

    int updateByPrimaryKey(Permission record);

	List<String> selectPermissonsByUserName(String username);
}